package strategy;

/**
 * @ClassName StrategyPatternDemo
 * @Description 备忘录模式
 * @Author leejiliang
 * @DateTime 2021/7/20 17:15
 * @Version 1.0
 */
public class StrategyPatternDemo {
	public static void main(String[] args) {
		final AddStrategy addStrategy = new AddStrategy();
		final Context context = new Context(addStrategy);
		System.out.println(context.execute(1, 2));
	}
}
